package io.gitee.yth.design.pattern.test.core.pattern.structural.decorator.code;

/**
 * 顶层基类，被装饰类
 *
 * @author yth
 * @since 2023-04-26-16:09
 */
public abstract class Drink {
    protected final String description;
    protected final double price;

    public Drink(String description, double price) {
        this.description = description;
        this.price = price;
    }

    abstract public String getDescription();

    abstract public double getPrice();

}
